package com.mengyan.framework.exception;

import com.mengyan.framework.model.response.ResultCode;

/**
 * 自定义异常
 * Created by mengyan on 2019/2/6.
 */
public class CustomException extends RuntimeException {
    ResultCode resultCode;

    public CustomException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }
}
